<link rel="stylesheet" href="/Css/jquery.cluetip.css" />
<script type="text/javascript" src="/Js/jquery.cluetip.js"></script>

<div class="pad-10" >
    
    <div class="navigate">
		<h1>操作日志列表</h1>
  	</div>

    <div class="explain-col">
    	<form id="form_task" action="/index.php/Admin/Logs/index" method="get">
 		&nbsp;查询日期:
 		
 		<input type="text" class="Wdate tc w200" id="begin" name="begin_time" onclick="javascript:WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" value="{$begin_time}" />
    	至
    	<input type="text" class="Wdate tc w200" id="end" name="end_time" onclick="javascript:WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" value="{$end_time}" />
    	
    	&nbsp;
    	管理员
		<select name="admin_id" id="admin_id" style="width:200px;">
			<option value="0">不限</option>
			<volist name="admins" id="a">
			<option value="{$a.id}"<if condition="$a['id'] eq $admin_id"> selected</if>>{$a.real_name}</option>
			</volist>
        </select>
        
        <input type="submit" name="btnSearch" id="btnSearch" class="button" value="搜索" />
        </form>
	</div>
	  	


    <div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
            	<th class="w60">日志编号</th>
                <th class="w120">操作类型</th>
                <th class="w300">内容</th>
                <th class="w80">操作人</th>
                <th class="w150">添加时间</th>
                <th class="w150">IP</th>
            </tr>
        </thead>
    	<tbody>
        <volist name="logs" id="l">
        <tr>
        	<td align="center">{$l.log_id}</td>
        	<td align="center">{$l.log_code_name}</td>
        	
        	<td align="left">{$l.log_content}</td>
        	<td align="center">{$l.admin_name}</td>
        	
        	
        	<td align="center">{$l.created}</td>
        	<td align="center">{$l.ip}</td>
        </tr>
        </volist>
    	</tbody>
    </table>

    <div class="btn">
		<include file="Common:pager" />
    </div>
    
    </div>
    
</div>

<script type="text/javascript" src="/Js/adm/logs/index.js"></script>
<script type="text/javascript" src="/Js/WdatePicker.js"></script>